package com.insight.modules.system.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 公共的key-value-name VO
 * @author wangtao
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommenKeyValueNameVo implements Serializable{
	/**
	 * 公共key-value-name VO
	 * @param key
	 * @param value
	 * @param name 展示名称
	 */
	public CommenKeyValueNameVo(String key, Object value, String name, String unit) {
		this.key = key;
		this.value = value;
		this.name = name;
		this.unit = unit;
	}

	private static final long serialVersionUID = 1L;

	/**
	 * 属性key
	 */
	private String key;
	
	/**
	 * 属性value
	 */
	private Object value;
	
	/**
	 * 属性展示名称
	 */
	private String name;
	
	/**
	 * 属性展示单位
	 */
	private String unit;

}
